ElementPack\SetupWizard\Plugin_Api_Fetcher S

Total Complexity 49
Dependencies 0
Dependents 1
Total lines 367
Lines of code 204
Logical lines of code 89
Comment lines 110
Methods 15
Properties 0

Methods 15

Method Rating Maintainability Complexity Lines of code
fetch_from_api()
A
43 6 50
format_active_installs()
S
59 6 13
format_downloaded_count()
S
59 6 13
format_plugin_data()
S
48 3 33
get_valid_plugin_icon()
S
59 4 13
get_cached_data()
S
60 4 13
is_valid_image_url()
S
61 4 11
get_numeric_active_installs()
S
69 4 6
get_plugin_data()
S
62 3 12
get_multiple_plugins_data()
S
64 3 10
clear_all_cache()
S
61 1 15
plugin_exists()
S
73 2 4
cache_data()
S
74 1 4
clear_cache()
S
75 1 4
get_plugin_slug_from_file()
S
80 1 3